home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: news.sprintlink.net!eskimo!scs
- From: scs@eskimo.com (Steve Summit)
- Subject: Re: How to detect EOF?/filepointer problem.
- X-Nntp-Posting-Host: eskimo.com
- Message-ID: <DpwrEq.HuK@eskimo.com>
- X-Scs-References: <9604142207.AA10499@sun2.lrz-muenchen.de>
- Sender: news@eskimo.com (News User Id)
- Organization: schmorganization
- References: <316F8932.2BAF@www.partio.fi> <Dpv413.LtC@eskimo.com>
- Date: Mon, 15 Apr 1996 14:40:02 GMT
-
- In article <Dpv413.LtC@eskimo.com>, I wrote:
- > ...But weird things do go on with scanf. If you're
- > reading lines, a line-based input function such as fscanf is
- > usually a much better choice.
-
- What I meant to say was that a line-based input function such as
- fgets is usually a much better choice. Thanks to Kurt Watzka for
- pointing this out.
-
- Steve Summit
- scs@eskimo.com
-